package org.springblade.modules.system.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tool.node.BaseNode;
import org.springblade.core.tool.node.TreeNode;

/**
 * @Description 部门树型节点类
 * @Author ysq
 * @Date 2022/3/11
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class DeptTreeNode extends BaseNode<TreeNode> {

	private static final long serialVersionUID = 1L;

	private String title;

	/**
	 * 任务数
	 */
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private Double planAmount;

	/**
	 * 类型 1:部门，2：人员
	 */
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private Integer type;

	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private Integer total;

	/**
	 * 梯台数
	 */
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private Integer elevatorAmount;
}
